package com.demo.consumer.condition;


import org.springframework.context.annotation.Conditional;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE,ElementType.METHOD})
@Documented
@Conditional(OnPropertyContainsCondition.class)
public @interface ConditionalOnContainsProperty {
    String  value() default "";

}
